<?php
namespace app\common\model;

use think\Model;
use traits\model\SoftDelete;

class RelationClassModel extends Model
{
	use SoftDelete;
	
	protected $autoWriteTimestamp='datetime';
	protected $updateTime = false;
	protected $dateFormat = "Y-m-d H:i:s";
	protected $field = true;
	public function appuser(){
		return $this->belongsTo('AppUserModel','user_id','id');
	}
}